package com.ruoyi.project.doctors.serivce.impl;

import com.ruoyi.project.doctors.domain.Patient;
import com.ruoyi.project.doctors.mapper.PatientMapper;
import com.ruoyi.project.doctors.serivce.PatientService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class PatientServiceImpl implements PatientService {

    @Autowired
    private PatientMapper patientMapper;
    @Override
    public List<Patient> selectPatient(Patient patient) {
        return patientMapper.selectPatient(patient);
    }
}
